/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.ArrayList;
import java.util.List;

import com.itinsys.enma.domain.dto.PlanningDTO;

/**
 * @author sperez
 *
 */
public class PlanningResponse extends Response {
	public static final int PLANNING_NOT_EXISTS=501;
	public static final int PLANNINGS_NOT_EXISTS=502;
	public static final int PLANNING_ALREADY_SENT = 503;
	public static final int SEND_WITHOUT_RESERVATION = 504;
	public static final int PLANNING_ALREADY_CONFIRM = 505;
	public static final int PLANNING_IN_CONFLICT_NO_CONFIRMED = 506;
	public static final int PLANNING_IS_NOT_CONFIRMED = 507;
	private List<PlanningDTO> planningsDTO;
	private List<String> careers;
		
	public PlanningResponse() {
		init();
		getMessagesCode().put(PLANNING_NOT_EXISTS, "PLANNING_NOT_EXISTS");
		getMessagesCode().put(PLANNINGS_NOT_EXISTS, "PLANNINGS_NOT_EXISTS");
		getMessagesCode().put(PLANNING_ALREADY_SENT, "PLANNING_ALREADY_SENT");
		getMessagesCode().put(PLANNING_ALREADY_CONFIRM, "PLANNING_ALREADY_CONFIRM");
		getMessagesCode().put(SEND_WITHOUT_RESERVATION, "SEND_WITHOUT_RESERVATION");
		getMessagesCode().put(PLANNING_IN_CONFLICT_NO_CONFIRMED, "PLANNING_IN_CONFLICT_NO_CONFIRMED");
		getMessagesCode().put(PLANNING_IS_NOT_CONFIRMED, "PLANNING_IS_NOT_CONFIRMED");
		this.planningsDTO=new ArrayList<PlanningDTO>();
	}

	public List<PlanningDTO> getPlanningsDTO() {
		return planningsDTO;
	}

	public void setPlanningsDTO(List<PlanningDTO> planningsDTO) {
		this.planningsDTO = planningsDTO;
	}

	/**
	 * @return the careers
	 */
	public List<String> getCareers() {
		return careers;
	}

	/**
	 * @param careers the careers to set
	 */
	public void setCareers(List<String> careers) {
		this.careers = careers;
	}


	

}
